const routes = [
    // 首页
	{
	    path: "/home",
	    name: "home",
	    component: () => import(/* webpackChunkName: "home" */ '../views/Home.vue'),
	    meta: {
	        title: "首页",
	    }
	},
	// 登录
    {
		path: '/login',
		 name: "login",
		 component: () => import( /* webpackChunkName: "login" */ "../views/login/login.vue"),
        meta: {
            title: "登录",
        }
	},
    // 注册
    {
        path: "/register",
        name: "register",
        component: () => import( /* webpackChunkName: "register" */ "../views/login/register.vue"),
        meta: {
            title: "注册",
        }
    },

	
    // 在线客服
    {
        path: "/onlineService",
        name: "onlineService",
        component: () => import( /* webpackChunkName: "onlineService" */ "../views/login/onlineService.vue"),
        meta: {
            title: "在线客服",
        }
    },
    // 切换线路
    {
        path: "/switchLine",
        name: "switchLine",
        component: () => import( /* webpackChunkName: "switchLine" */ "../views/login/switchLine.vue"),
        meta: {
            title: "切换线路",
        }
    },
    // 切换语言 
    {
        path: "/switchLanguage",
        name: "switchLanguage",
        component: () => import( /* webpackChunkName: "switchLanguage" */ "../views/login/switchLanguage.vue"),
        meta: {
            title: "切换语言",
        }
    },
    // 帮助中心 
    {
        path: "/helper",
        name: "helper",
        component: () => import( /* webpackChunkName: "helper" */ "../views/home/helper.vue"),
        meta: {
            title: "帮助中心",
        }
    },
    // 帮助中心详情
    {
        path: "/helperDetail",
        name: "helperDetail",
        component: () => import( /* webpackChunkName: "helperDetail" */ "../views/home/helperDetail.vue"),
        meta: {
            title: "",
        }
    },
    // 新币申购 
    {
        path: "/subscription",
        name: "subscription",
        component: () => import( /* webpackChunkName: "subscription" */ "../views/home/subscription.vue"),
        meta: {
            title: "新币申购",
        }
    },
    // 我的申购 
    {
        path: "/mySubscription",
        name: "mySubscription",
        component: () => import( /* webpackChunkName: "mySubscription" */ "../views/home/mySubscription.vue"),
        meta: {
            title: "我的申购",
        }
    },
    // 申购详情
    {
        path: "/subscriptionDetail",
        name: "subscriptionDetail",
        component: () => import( /* webpackChunkName: "subscriptionDetail" */ "../views/home/subscriptionDetail.vue"),
        meta: {
            title: "申购详情",
        }
    },
    // 锁仓挖矿 
    {
        path: "/LockUpMining",
        name: "LockUpMining",
        component: () => import( /* webpackChunkName: "LockUpMining" */ "../views/home/LockUpMining.vue"),
        meta: {
            title: "锁仓挖矿",
        }
    },
    // 充值 
    {
        path: "/recharge",
        name: "recharge",
        component: () => import( /* webpackChunkName: "recharge" */ "../views/home/recharge.vue"),
        meta: {
            title: "充值",
        }
    },
    // 公告资讯 
    {
        path: "/news",
        name: "news",
        component: () => import( /* webpackChunkName: "news" */ "../views/home/news.vue"),
        meta: {
            title: "公告资讯",
        }
    },
    // 公告详情 
    {
        path: "/newsDetail",
        name: "newsDetail",
        component: () => import( /* webpackChunkName: "newsDetail" */ "../views/home/newsDetail.vue"),
        meta: {
            title: "公告详情",
        }
    },
    // 交易
    {
        path: "/trade",
        name: "trade",
        component: () => import( /* webpackChunkName: "trade" */ "../views/trade/index.vue"),
        meta: {
            title: "交易",
        }
    },
    // 行情
    {
        path: "/quotes",
        name: "quotes",
        component: () => import( /* webpackChunkName: "quotes" */ "../views/quotes/index.vue"),
        meta: {
            title: "行情",
        }
    },
    // 资产
    {
        path: "/assets",
        name: "assets",
        component: () => import( /* webpackChunkName: "assets" */ "../views/assets/index.vue"),
        meta: {
            title: "资产",
        }
    },
    // 我的
    {
        path: "/mine",
        name: "mine",
        component: () => import( /* webpackChunkName: "mine" */ "../views/mine/index.vue"),
        meta: {
            title: "我的",
        }
    },
    // 设置中心
    {
        path: "/setting",
        name: "setting",
        component: () => import( /* webpackChunkName: "setting" */ "../views/mine/setting.vue"),
        meta: {
            title: "设置中心",
        }
    },
    // 修改昵称
    {
        path: "/changeUsername",
        name: "changeUsername",
        component: () => import( /* webpackChunkName: "changeUsername" */ "../views/mine/changeUsername.vue"),
        meta: {
            title: "修改昵称",
        }
    },
    // 设置提现密码
    {
        path: "/withdrawalPassword",
        name: "withdrawalPassword",
        component: () => import( /* webpackChunkName: "withdrawalPassword" */ "../views/mine/withdrawalPassword.vue"),
        meta: {
            title: "设置提现密码",
        }
    },
    // 修改登录密码
    {
        path: "/loginPassword",
        name: "loginPassword",
        component: () => import( /* webpackChunkName: "loginPassword" */ "../views/mine/loginPassword.vue"),
        meta: {
            title: "修改登录密码",
        }
    },
    // 理财产品
    {
        path: "/wealthList",
        name: "wealthList",
        component: () => import( /* webpackChunkName: "wealthList" */ "../views/home/wealthList.vue"),
        meta: {
            title: "理财产品",
        }
    },
    // 委托订单
    {
        path: "/financialTradeList",
        name: "financialTradeList",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/home/financialTradeList.vue"),
        meta: {
            title: "委托订单",
        }
    },    
	// 委托订单
	{
	    path: "/financialTradeList2",
	    name: "financialTradeList2",
	    component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/home/financialTradeList2.vue"),
	    meta: {
	        title: "委托订单",
	    }
	}, 
     // 充值-详情
     {
        path: "/recharge-open",
        name: "recharge-open",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/assets/recharge-open.vue"),
        meta: {
            title: "充值",
        }
    }, 
    // 提现
    {
        path: "/withdrawal",
        name: "withdrawal",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/assets/withdrawal.vue"),
        meta: {
            title: "提现",
        }
    }, 
    // 提现
    {
        path: "/withdrawal-open",
        name: "withdrawal-open",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/assets/withdrawal-open.vue"),
        meta: {
            title: "提现",
        }
    }, 
    // 提现
    {
        path: "/transfer",
        name: "transfer",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/assets/transfer.vue"),
        meta: {
            title: "兑换",
        }
    },
    // 收款方式管理
    {
        path: "/paymentMethod",
        name: "paymentMethod",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/paymentMethod.vue"),
        meta: {
            title: "收款方式管理",
        }
    },
    // 添加钱包地址
    {
        path: "/paymentMethod-add",
        name: "paymentMethod-add",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/paymentMethod-add.vue"),
        meta: {
            title: "收款方式管理",
        }
    },
    // 银行账户
    {
        path: "/bankCard",
        name: "bankCard",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/bankCard.vue"),
        meta: {
            title: "收款方式管理",
        }
    },
    // 绑定银行卡（国际）
    {
        path: "/bankWorld",
        name: "bankWorld",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/bankWorld.vue"),
        meta: {
            title: "添加银行卡",
        }
    },
    // 绑定银行卡
    {
        path: "/bank-add",
        name: "bank-add",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/bank-add.vue"),
        meta: {
            title: "添加银行卡",
        }
    },
    // 我要分享
    {
        path: "/share",
        name: "share",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/share.vue"),
        meta: {
            title: "我要分享",
        }
    },
    // 账变记录
    {
        path: "/zhangbian",
        name: "zhangbian",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/zhangbian.vue"),
        meta: {
            title: "账变记录",
        }
    },
    // 极速持仓
    {
        path: "/rapidPosition",
        name: "rapidPosition",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/rapidPosition.vue"),
        meta: {
            title: "极速持仓",
        }
    },
    // 合约持仓
    {
        path: "/contractPosition",
        name: "contractPosition",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/mine/contractPosition.vue"),
        meta: {
            title: "合约持仓",
        }
    },
    // 提现明细
    {
        path: "/withdrawalDetails",
        name: "withdrawalDetails",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/assets/withdrawalDetails.vue"),
        meta: {
            title: "提现明细",
        }
    },
    // 充值明细
    {
        path: "/rechargeDetails",
        name: "rechargeDetails",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/assets/rechargeDetails.vue"),
        meta: {
            title: "充值明细",
        }
    },
    // 实时数据
    {
        path: "/tradeRecord",
        name: "tradeRecord",
        component: () => import( /* webpackChunkName: "financialTradeList" */ "../views/trade/tradeRecord.vue"),
        meta: {
            title: "实时数据",
        }
    },
    // 实名认证
    {
        path: "/verified",
        name: "verified",
        component: () => import( /* webpackChunkName: "verified" */ "../views/mine/verified.vue"),
        meta: {
            title: "实名认证",
        }
    },
    // 实名认证
    {
        path: "/productDetail",
        name: "productDetail",
        component: () => import( /* webpackChunkName: "productDetail" */ "../views/home/productDetail.vue"),
        meta: {
            title: "产品详细",
        }
    },
    
]

export default routes